A Genetic Algorithm to Solve the Timetable Problem

نویسندگان

  • Alberto Colorni
  • Vittorio Maniezzo
چکیده

The paper presents an application of an adapted genetic algorithm to a real world instance of the timetable problem. The results of its application are described. We also compare our results with simulated annealing and tabu search. Abstract In this paper we present the results of an investigation of the possibilities offered by genetic algorithms to solve the timetable problem. This problem has been chosen since it is representative of the class of multi-constrained, NP-hard, combinatorial optimization problems with real-world application. First we present our model, including the definition of a hierarchical structure for the objective function and the generalized genetic operators which can be applied to matrices representing timetables. Then we report about the outcomes of the utilization of the implemented system to the specific case of the generation of a school timetable. We compare two versions of the genetic algorithm (GA), with and without local search, both to a handmade timetable and to two other approaches based on simulated annealing and tabu search. Our results show that GA with local search and tabu search with relaxation both outperform simulated annealing and handmade timetables. Evolutionary algorithms [14] constitute a class of computational paradigms useful for function optimization inspired from the study of natural processes. They use a population of possible solutions, which are concurrently subject to modifications aimed at the determination of the optimal solution. A particularly efficient instantiation of evolutionary algorithms is represented by the genetic algorithm (GA) [22] , in which the natural analogy is population genetics. In the GA every possible solution is represented by a "digital individual" and after the generation of an initial set of feasible solutions (a population), individuals are randomly mated allowing the recombination of genetic material. The resulting individuals can then be mutated with a specific mutation probability. The new population so obtained undergoes a process of natural selection which favors the survival of the fittest individuals (the best solutions), and provides the basis for a new evolutionary cycle. The fitness of the individuals is made explicit by means of a function, called the fitness function (f.f.), which is related with the objective function to optimize. The f.f. quantifies how good a solution is for the problem faced. In GAs individuals are sometimes called chromosomes, and positions in the chromosome are called genes. The value a gene actually takes is called an allele (or allelic value). Allelic values may vary on …

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Train Scheduling Problem - Phase II: A Simulation Integrated Genetic AlgorithmSystem

In [1] a feasible timetable generator stochastic simulation modeling framework for the train scheduling problem was developed to obtain a train timetable which includes train arrival and departure times at all visited stations and calculated average train travel time for all trains in the system. In this study, the framework is integrated with a genetic algorithm (GA) in order to get an optimal...

متن کامل

A New Approach to Solve N-Queen Problem with Parallel Genetic Algorithm

Over the past few decades great efforts were made to solve uncertain hybrid optimization problems. The n-Queen problem is one of such problems that many solutions have been proposed for. The traditional methods to solve this problem are exponential in terms of runtime and are not acceptable in terms of space and memory complexity. In this study, parallel genetic algorithms are proposed to solve...

متن کامل

Solving a nurse rostering problem considering nurses preferences by graph theory approach

Nurse Rostering Problem (NRP) or the Nurse Scheduling Problem (NSP) is a complex scheduling problem that affects hospital personnel on a daily basis all over the world and is known to be NP-hard.The problem is to decide which members of a team of nurses should be on duty at any time, during a rostering period of, typically, one month.It is very important to efficiently utilize time and effort, ...

متن کامل

A novel hybrid genetic algorithm to solve the make-to-order sequence-dependent flow-shop scheduling problem

Flow-shop scheduling problem (FSP) deals with the scheduling of a set of n jobs that visit a set of m machines in the same order. As the FSP is NP-hard, there is no efficient algorithm to reach the optimal solution of the problem. To minimize the holding, delay and setup costs of large permutation flow-shop scheduling problems with sequence-dependent setup times on each machine, this pap...

متن کامل

Flow Shop Scheduling Problem with Missing Operations: Genetic Algorithm and Tabu Search

Flow shop scheduling problem with missing operations is studied in this paper. Missing operations assumption refers to the fact that at least one job does not visit one machine in the production process. A mixed-binary integer programming model has been presented for this problem to minimize the makespan. The genetic algorithm (GA) and tabu search (TS) are used to deal with the optimization...

متن کامل

A Capacitated Vehicle Routing Problem considering Satisfaction Level of Customers: A Genetic Algorithm

Capacitated vehicle routing problem (CVRP) is one of the most well-known and applicable issues in the field of transportation. It has been proved to be an NP-Complete problem. To this end, it is needed to develop a high-performance algorithm to solve the problem, particularly in large scales. This paper develops a novel mathematical model for the CVRP considering the satisfaction level of deman...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 1993